<style>
body {
    font-family: "Microsoft YaHei","Lato","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 14px;
}
body {
    font-weight: 300;
}
body {
    margin: 0;
    font-family: "Lato","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #2c3e50;
    background-color: #fff;
}
table {
    max-width: 100%;
    background-color: transparent;
    border-collapse: collapse;
    border-spacing: 0;
}
tbody {
    display: table-row-group;
    vertical-align: middle;
    border-color: inherit;
}

tr {
    display: table-row;
    vertical-align: inherit;
    border-color: inherit;
}

.table th, .table td{text-align: center;}
.table-list {
    margin-bottom: 50px;
}
.table-list {
    margin-bottom: 0px;
}
.table-bordered {
    border: 1px solid #030406;
    border-collapse: separate;
    border-left: 0;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
.table {
    width: 100%;
    margin-bottom: 20px;
}
.table th, .table td {
    text-align: center;
}
.table td {
    font-size: 12px;
}
.table th, .table td {
    vertical-align: middle;
}
.table-bordered th, .table-bordered td {
    border-left: 1px solid #030406;
}
.table th, .table td {
    padding: 8px;
    line-height: 20px;
    vertical-align: top;
    border-top: 1px solid #030406;
}
.remark{text-align: left;margin: 0;}
</style>
</head>
<body style="min-width: 800px;">
	<div class="wrap">
		<table class="table table-hover table-bordered table-list">
			<thead>
				<tr>
					<th width="50">ID</th>
					<th width="">姓名</th>
					<th width="">工号</th>
					<th width="">部门</th>
					<th width="">日期</th>
					<th width="">星期</th>
					<th width="">上班打卡</th>
					<th width="">下班班打卡</th>
					<th width="">迟到</th>
					<th width="">早退</th>
					<th width="">超时</th>
					<th width="">有效出勤</th>
					<th width="">实际出勤</th>
					<th width="">缺勤</th>
					<th width="">918出勤</th>
					<th width="">请假</th>
				</tr>
			</thead>
			<foreach name="list" item="vo">
			<tr>
				<td>{$vo.id}</td>
				<td>{$vo.name}</td>
				<td>&nbsp;{$vo.sn}</td>
				<td>{$vo.dep_name}</td>
				<td>{$vo.date}</td>
				<td>{$vo.date_str}</td>
				<td>{$vo.duty_on}</td>
				<td>{$vo.duty_off}</td>
				<td>{$vo.stu_late|default=0}</td>
				<td>{$vo.stu_leave_early|default=0}</td>
				<td>{$vo.overtime|default=0}</td>
				<td>{$vo.work_effect}</td>
				<td>{$vo.work_actual}</td>
				<td>{$vo.work_effect_918}</td>
				<td>{$vo[stu_absent] >= 0 && !empty($vo[stu_absent]) ? $vo[stu_absent] : 0 }</td>
				<td>
					<notempty name='vo.leave_compensatory'>补休:{$vo.leave_compensatory}</notempty>
					<notempty name='vo.leave_casual'>事假:{$vo.leave_casual}</notempty>
					<notempty name='vo.leave_evection'>外出:{$vo.leave_evection}</notempty>
					<notempty name='vo.leave_sick_min'>病假:{$vo.leave_sick_min}</notempty>
					<notempty name='vo.leave_annual'>年假:{$vo.leave_annual}</notempty>
					<notempty name='vo.leave_marriage'>婚假:{$vo.leave_marriage}</notempty>
					<notempty name='vo.leave_maternity'>产假:{$vo.leave_maternity}</notempty>
					<notempty name='vo.leave_paternity'>陪产假:{$vo.leave_paternity}</notempty>
					<notempty name='vo.leave_other'>其他:{$vo.leave_other}</notempty>
				</td>
			</tr>
			</foreach>
		</table>
	</div>
</body>
</html>